<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>调查问卷列表</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<link rel="shortcut icon" href="image/favicon.ico" />
	</head>
	<body>
		<div id="formBackground">
			<div id="formArea">
				<div id="pngHeader">
					<div id="form-logo"></div>
				</div>
				<div id="formHeader">
					<div id="title">
						<a href="javascript.void(0);">调查问卷列表</a>
					</div>
				</div>
				<div id="formBodyer">
					<div id="formAction">
						<a style="text-decoration: none;color: green;" href="upload.jsp">上传模板</a>
						<a style="text-decoration: none;color: green;" href="createNaire.naire">创建问卷</a>
						<a style="text-decoration: none;color: green;" href="createNaire.naire">分析问卷</a>
					</div>
					<div class="clear"></div>
					<div id="entrys">
						<%
							List<Map<String, String>> l = (List<Map<String, String>>) request.getAttribute("list");
							for(int i = 0; i < l.size(); i++) {
								Map<String, String> m = l.get(i);
						%>
							<div class="entry">
								<ul style="margin: 0,0,0,0;">
									<li style="float: left;color:red;font-size: 16px; font-weight: bold;list-style-type: none;margin-top: -5px;">
										<a style="text-decoration: none;color:red;" href="view.naire?file=<%=m.get("fileName") %>" target="_blank"><%=m.get("fileName") %></a>
									</li>
									<li style="float: right;color:red;font-size: 16px; font-weight: bold; list-style-type: none;margin-top: -5px;">
										<a style="text-decoration: none;color:red;" href="calculate.naire?file=<%=m.get("fileName") %>">计算</a>
									</li>
								</ul>
							</div>
						<%
							}
						%>
					</div>
				</div>
				<div class="clear"></div>
				<div id="formFooter">
					在线免费调查平台由<a href="javascript:void(0);" target="_blank">问道网</a>提供：问卷创建，传播，统计，报告，全部功能免费。
				</div>
			</div>
		</div>
	</body>
</html>